#include "stdafx.h"
#include "SceneView.h"

#include "Scene.h"

using namespace mcore;

SceneView::SceneView(const string & name)
{
	mName = name;
}

void SceneView::load()
{
	mScene = new Scene;
}

void SceneView::unload()
{
	delete mScene;
}

void SceneView::update(float dt)
{
	mScene->update(dt);
}

void SceneView::draw()
{
	mScene->draw();
}

void SceneView::onResize()
{
	mScene->onResize();
}